export default [
  {
    url: '/mock/auth/login',
    method: 'post',
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: {
          token: 'ddddddd'
        }
      };
    }
  },
  {
    url: '/mock/auth/info',
    timeout: 200,
    method: 'get',
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: {
          username: 'admin',
          userInfo: {
            id: 1,
            deptId: 1,
            deptName: 'Harry科技',
            postIds: null,
            username: 'admin',
            icon: 'http://localhost:9090/harry/20250110/2baf828d871e490a9ea1ecf19fc9a01b.png',
            email: '183865800@qq.com',
            phone: '16666666666',
            nickName: 'Harry',
            sex: '1',
            note: null,
            loginIp: '192.168.31.7',
            loginTime: '2024-11-20 17:25:53',
            status: '1'
          },
          permissions: ['*:*:*'],
          roles: ['ROOT']
        }
      };
    }
  },
  {
    url: '/mock/auth/logout',
    method: 'post',
    response: () => {
      return {
        code: 200,
        message: '操作成功'
      };
    }
  }
];
